package com.CST.service.ys;


import com.CST.dto.ys.YsDetailDTO;
import com.CST.entity.ys.YsAccountDetail;
import com.CST.vo.ys.AccountDetailVO;
import com.CST.vo.ys.YsAccountDetailVO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qtx
 * @since 2023-04-21
 */
public interface YsAccountDetailService extends IService<YsAccountDetail> {

    YsAccountDetailVO listBudgetInfo(YsDetailDTO dto, HttpServletRequest res);

    AccountDetailVO getAccountByNum(Integer num,Integer yard,Integer type);

    YsAccountDetailVO listExpenseInfo(YsDetailDTO dto);

    AccountDetailVO getAccountById(@Param("id") Long id);

    String exportBusinessBudgetList(YsDetailDTO dto, HttpServletResponse response);

    String exportManageExpenseList(YsDetailDTO dto, HttpServletResponse response);
}
